package com.jazz.annotation;

import java.util.Arrays;

@CustomAnnotation(value = "zhangzhijia", meta = @MetaAnnotation("yes"))
public class CustomAnnotationTest {
	public static void main(String[] args) {
		if (CustomAnnotationTest.class
				.isAnnotationPresent(CustomAnnotation.class)) {
			CustomAnnotation annotation = CustomAnnotationTest.class
					.getAnnotation(CustomAnnotation.class);
			System.out.println(annotation.color());
			System.out.println(annotation.value());
			for (int i : annotation.arr()) {
				System.out.print(i + " ");
			}
			System.out.println("\n" + annotation.meta().value());
			System.out.println(annotation.clazz().getName());
		}
	}
}
